package com.project.frba.bifront.client.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.project.frba.bifront.client.model.Dashboard;

public interface DashboardServicesAsync {
	
	public void createDashboard(Dashboard dashboard, AsyncCallback<Boolean> callback);
	
	public void removeDashboard(Long id, Integer type, AsyncCallback<Boolean> callback);
	
	public void removeDashboard(Dashboard dashboard, AsyncCallback<Boolean> callback);
	
	public void addGraphicToDashboard(String codedInfo, Long dashboardId, Integer position, Integer dashboardType, AsyncCallback<Boolean> callback);
	
	public void removeGraphicToDashboard(Long dashboardId, Integer position, Integer dashboardType, AsyncCallback<Boolean> callback);
	
	public void findDashboardById(Long id, Integer type, AsyncCallback<Dashboard> callback);
	
	public void getMyDashboards(AsyncCallback<List<Dashboard>> callback);
	
	public void storeDashboard(Dashboard dashboard, AsyncCallback<Boolean> callback);

}
